﻿using System.Collections.Generic;

namespace DaHuaMes
{

    public class UserLoginClass
    {
        public string userCode { get; set; } = "";
        public string pass { get; set; } = "";

        public string language { get; set; } = "zh_CN";
        
    }
    public class TokenClass
    {
        public string resultCode { get; set; } = "";
        public string resultMsg { get; set; } = "";

        public TokenResultData resultData { get; set; }=new TokenResultData();
    }
    public class TokenResultData
    {
        public string userCode { get; set; }
        public string userName { get; set; }
        public string accessToken { get; set; }
    }

    public class  WebSnClass
    {
        public string docType { get; set; } = ""; 
        public List<Condition> condition { get; set; }=new List<Condition>();
    }

    public class Condition
    {
        public string columnName { set; get; } = "";
        public string symbol { set; get; } = "eq";
        public dynamic value { set; get; } = "";

    }
    public class ResponseClass
    {
        public string resultCode { get; set; } = "";
        public string resultMsg { get; set; } = "";
        public ResponseResultData resultData { get; set; }= new ResponseResultData();
    }

    public class ResponseResultData {
        public int pageNo { get; set; } =0;
        public int totalPage { get; set; } = 0;
        public int totalSize { get; set; } = 0;
        public List<Responsedata> data { get; set; }=new List<Responsedata> ();
        public int pageSize { get; set; } = 0;
    }
    public class Responsedata 
    {
        public string mat_ver
        {
            get; set;
        } = "";
        public string lb_id
        {
            get; set;
        } = "";

        public  List <exStaClass> data { get; set;} = new List<exStaClass> ();
    }
    public class exStaClass
    {
        public int resultcode { get; set; } = 0;
        public string resultmsg { get; set; } = "";

        public string resultdata="";
    }
   public class TestResult
    {
        public string Test_Item { set; get; } = "";
        public string Value { set; get; } = "";
        public string Low_Limit { set; get; } = "";
        public string Up_Limit { set; get; } = "";
        public string Result { set; get; } = "";

    }


    public class PicturesClass
    {
    public string   sn        { set; get; } = "";
    public int      seq  { set; get; } = 0;
    public string   picData       { set; get; } = "";
    public string   picName    { set; get; } = "";
    public string   picDate       { set; get; } = "";
    public string   wpCode      { set; get; } = "";
    public string   judge           { set; get; } = "";
    public string source { set; get; } = "";
    }
}